package com.ruoyi.system.mapper.gallery;

import com.ruoyi.system.domain.gallery.GalleryInfo;

import java.util.List;

/**
 * 图库Mapper接口
 * 
 * @author 张少丛
 * @date 2020-11-30
 */
public interface GalleryInfoMapper 
{
    /**
     * 查询图库
     * 
     * @param galleryInfoId 图库ID
     * @return 图库
     */
    public GalleryInfo selectGalleryInfoById(Long galleryInfoId);

    /**
     * 查询图库列表
     * 
     * @param galleryInfo 图库
     * @return 图库集合
     */
    public List<GalleryInfo> selectGalleryInfoList(GalleryInfo galleryInfo);

    /**
     * 新增图库
     * 
     * @param galleryInfo 图库
     * @return 结果
     */
    public int insertGalleryInfo(GalleryInfo galleryInfo);

    /**
     * 修改图库
     * 
     * @param galleryInfo 图库
     * @return 结果
     */
    public int updateGalleryInfo(GalleryInfo galleryInfo);

    /**
     * 删除图库
     * 
     * @param galleryInfoId 图库ID
     * @return 结果
     */
    public int deleteGalleryInfoById(Long galleryInfoId);

    /**
     * 批量删除图库
     * 
     * @param galleryInfoIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGalleryInfoByIds(Long[] galleryInfoIds);
}
